package com.bdqn.ch05.SZ.Factory;

import com.bdqn.ch05.SZ.mapper.impl.UserDaoImpl;
import com.bdqn.ch05.SZ.mapper.UserDao;

/**
 * UserDaoFactory
 *用户DAO工厂，负责用户Dao实例的创建工作
 *
 * @aurhor Administrator  whs
 * @since 2024/7/10
 */
public class UserDaoFactory {
    // 负责创建用户DAO实例的方法
    public static UserDao getInstance(){
        return new UserDaoImpl();
    }
}
